package com.bcx.crm.java.annotation.myResource;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by ys on 2018/3/15.
 */
@Retention(RetentionPolicy.RUNTIME) //指定注解保留的范围 (运行期)
@Target({ElementType.FIELD , ElementType.METHOD}) //允许注解标注的位置(属性 , 方法)
public @interface MySource {
    public String name() default "";
}
